//
//  UIFont+FitFont.m
//  MuYing
//
//  Created by tbb on 2019/7/19.
//  Copyright © 2019 TBB. All rights reserved.
//

#import "UIFont+FitFont.h"

@implementation UIFont (FitFont)

//3. UIFont(FitFont) 分类方法实现,实现fit_configureWithScreenWidith方法
+ (CGFloat )fit_configureWithScreenWidith:(CGFloat)font {
    if (SCREEN_WIDTH == 320) {
        return font -1;
    }else if (SCREEN_WIDTH == 375){
        return font;
    }else{
        return font + 1;
    }
}
@end
